Skip to content

Show error message if exists #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2015

Conversation

soullivaneuh
Copy link
Contributor

Actually, with this invalid API call: https://api.github.com/search/code?q=preset

We get the following message:

Validation Failed: Field "q" is invalid, for resource "Search"

This is not very explicit. This PR add the message field if exists.

@stof
Copy link
Contributor

stof commented Oct 7, 2015

👍

cursedcoder added a commit that referenced this pull request Oct 8, 2015
@cursedcoder cursedcoder merged commit a899966 into KnpLabs:master Oct 8, 2015
@soullivaneuh
Copy link
Contributor Author

Thanks.

@soullivaneuh soullivaneuh deleted the validation-failed-message branch October 8, 2015 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants